package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 音乐模板表
 * @author ${author}
 * @since 2020-05-29
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygMusicTemplate implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "模板ID", position = 1)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 模板名称
    @ApiModelProperty(value = "模板名称", position = 2)
    private String name;

    // 音乐文件url
    @ApiModelProperty(value = "音乐文件url", position = 3)
    private String url;

}
